package com.xiangxiao.rpan.authority.constant;

/**
 * @Projectname: ResponseMessage
 * @Author: xiangxiao
 * @Email: 573768011@qq.com
 * @Data:2023/3/16 23:56
 */
public class ResponseMessage {
  /**
   * mesage提示语句常量
   */
  public static final String LOGGED_SUCCESS = "登录成功!";
  public static final String SUCCESS_MESSAGE = "操作成功！";
  public static final String FAIL_MESSAGE = "操作失败！";
  public static final String ERROR_MESSAGE = "数据字符长度过长或其他原因！";
  public static final String CHILD_NODE_MESSAGE = "删除失败！当前部门下有子部门。";
  public static final String PARAMETER_MESSAGE = "请输入正确的参数！";
  public static final String WRONG_MESSAGE = "报错了！";
  public static final String UNKNOWN_ERROR = "未知错误！";
  public static final String CODE_ERROR = "编码不能重复！";
  public static final String PARENT_ID_NOT_FOUND = "父节点不存在！";
  public static final String CREATE_USER_NOT_FOUND = "创建人不存在！";
  public static final String ORGANIZATION_NOT_FOUND = "部门不存在";
  public static final String NO_AUTHORITY_OPERATION = "无权限操作";
  public static final String ROOT_ORGANIZATION_LIMIT = "根目录下只能创建一个部门";
  public static final String CURRENT_ORGANIZATION_EXIST_USER = "删除失败！当前部门下有用户账号。";
  public static final String NAME_NOT_IDENTICAL = "同级下的子节点名称不能相同";
  public static final String ROLENAME_NOT_IDENTICAL = "同一部门下角色名称不能相同";
  public static final String LOGOUT_FAIL = "退出登录失败";
  public static final String AUTHENTICATION_DEFECT = "缺少授权信息,退出登录失败";
  public static final String LOGOUT_SUECCESS = "退出登录成功";
  public static final String ROLE_NOT_EXIST = "该角色不存在!";
  public static final String ORGANIZATION_NOT_EXIST = "不存在该组织机构";
  public static final String ACCESS_DENY = "操作失败,无法新增或修改权限较大的用户。";
  public static final String USER_NOT_BIND_ORGANIZATION = "当前用户无组织机构";
  public static final String NOT_UPDATE_CURRENT_ACCOUNT = "修改失败，不能修改本账号的角色。";

  public static final String GENERATE_VERIFY_CODE_SUECCESS = "生成图形验证码成功";
  public static final String GENERATE_VERIFY_CODE_FAILED = "生成图形验证码失败";
  public static final String CHECK_LOGIN_STATUS_SUECCESS = "检查登录状态成功";
  public static final String CHECK_LOGIN_STATUS_FAILED = "检查登录状态失败";
  public static final String QUERY_LOGIN_VERIFY_MODE_SUECCESS = "获取设定的登录模式成功";
  public static final String QUERY_LOGIN_VERIFY_MODE_FAILED = "获取设定的登录模式失败";

  public static final String QUERY_USERIDS_BY_TOPIC_SUECCESS = "根据topic获取接收用户成功";
  public static final String QUERY_USERIDS_BY_TOPIC_FAILED = "根据topic获取接收用户失败";

  public static final String QUERY_ALL_TOPIC_SUECCESS = "查询所有topic列表成功";
  public static final String QUERY_ALL_TOPIC_FAILED = "查询所有topic列表失败";

  public static final String QUERY_ALL_USERS_SUECCESS = "查询所有用户列表成功";
  public static final String QUERY_ALL_USERS_FAILED = "查询所有用户列表失败";

  public static final String UPDATE_RECIVED_USERS_BY_TOPICS_SUECCESS = "修改告警接收人列表成功";
  public static final String UPDATE_RECIVED_USERS_BY_TOPICS_FAILED = "修改告警接收人列表失败";

  private ResponseMessage() {
  }
}
